import java.util.Scanner;

public class Test {
    public static void main3(String[] args) {
       //求1！+2！+3！+4！+........+n!的和
        Scanner ch = new Scanner(System.in);
        int a = ch.nextInt();

        int i = 0;
        int n = 0;
        int ret = 1;
        int sum = 0;
        for (n = 1; n <= a; n++)
        {
            ret = ret * n;
            sum = sum + ret;
        }
        System.out.println("sum="+sum);
    }
    public static int MAX2(int a,int b) {
        return a > b ? a : b;
    }

    public static int MAX3(int a,int b,int c) {
        int max = MAX2(a,b);
        return max > c ? max : c;
    }
    public static void main(String[] args) {
        //使用函数求最大值
        Scanner ch = new Scanner(System.in);
        int a = ch.nextInt();
        int b = ch.nextInt();
        int c = ch.nextInt();
        int max = MAX3(a,b,c);
        System.out.println(max);
    }
    public static void main1(String[] args) {
        //求N的阶乘
        Scanner ch = new Scanner(System.in);
        int n = ch.nextInt();
        int i = 0;
        int ret=1;

            for(i=1;i<=n;i++)
            {
                ret = ret * i;
            }
        System.out.println("ret="+ret);
    }
    public static void FALSE(String[] args) {
        //输入一个数字
        Scanner ch = new Scanner(System.in);
        int a = ch.nextInt();

        //求是由几个数字构成
        int count = 0;
        int i = a,b = 0;
        while(i != 0){
            count++;
            i /= 10;
        }

        //为避免改变初始化输入的数字
        int d = a,c = a;

        for (int j = 1; j <= count; j++) {
            i = c % 10;
            b++;
            for (int k = 1+j; k <= count; k++) {
                d /= 10;
                if ((d % 10) != i) {
                    System.out.println(i);
                }
            }
            c /= 10;
        }
    }
}